//
//  UIScrollView+TYZPage.h
//  AVfoundationDemo
//
//  Created by TangBin on 2019/8/14.
//  Copyright © 2019 TangBin. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
typedef void(^ _Nullable TYZPageScrollViewDidScrollView)(UIScrollView *scrollView);

typedef void(^ _Nullable TYZPageScrollViewBeginDragginScrollView)(UIScrollView *scrollView);

@interface UIScrollView (TYZPage)

@property (nonatomic, assign) BOOL tyz_observerDidScrollView;

@property (nonatomic, copy) TYZPageScrollViewDidScrollView pageScrollViewDidScrollView;

@property (nonatomic, copy) TYZPageScrollViewBeginDragginScrollView pageScrollViewBeginDragginScrollView;

- (void)tyz_setContentOffsetY:(CGFloat)offsetY;

@end

NS_ASSUME_NONNULL_END
